﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.Enums;

namespace YouTravel.DomainModels
{
    /// <summary>
    /// 附件信息
    /// </summary>
    public class Attachment : EntityBase
    {
        /// <summary>
        /// 附件名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 附件类型
        /// </summary>
        public AttachmentType Type { get; set; }
        /// <summary>
        /// 附件地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 附件后缀
        /// </summary>
        public string Suffix { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
